﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NewOverride
{
    class Employee:Person
    {
        public override void GetInfo()
        {
            //base.GetInfo();
            Console.WriteLine("Info来自于employee");
        }

        public new void GetName()
        {
            Console.WriteLine("Name来自于Employee");
        }
    }
}
